/****************************************************************************
** Meta object code from reading C++ file 'multiplayer.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "multiplayer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'multiplayer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_MultiPlayer_t {
    QByteArrayData data[16];
    char stringdata[139];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MultiPlayer_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MultiPlayer_t qt_meta_stringdata_MultiPlayer = {
    {
QT_MOC_LITERAL(0, 0, 11), // "MultiPlayer"
QT_MOC_LITERAL(1, 12, 4), // "back"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 9), // "wait_back"
QT_MOC_LITERAL(4, 28, 4), // "quit"
QT_MOC_LITERAL(5, 33, 13), // "create_client"
QT_MOC_LITERAL(6, 47, 8), // "recv_msg"
QT_MOC_LITERAL(7, 56, 9), // "set_chess"
QT_MOC_LITERAL(8, 66, 6), // "int[2]"
QT_MOC_LITERAL(9, 73, 3), // "arg"
QT_MOC_LITERAL(10, 77, 9), // "connected"
QT_MOC_LITERAL(11, 87, 12), // "disconnected"
QT_MOC_LITERAL(12, 100, 11), // "btn_restart"
QT_MOC_LITERAL(13, 112, 8), // "btn_quit"
QT_MOC_LITERAL(14, 121, 8), // "btn_back"
QT_MOC_LITERAL(15, 130, 8) // "btn_send"

    },
    "MultiPlayer\0back\0\0wait_back\0quit\0"
    "create_client\0recv_msg\0set_chess\0"
    "int[2]\0arg\0connected\0disconnected\0"
    "btn_restart\0btn_quit\0btn_back\0btn_send"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MultiPlayer[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      12,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x06 /* Public */,
       3,    0,   75,    2, 0x06 /* Public */,
       4,    0,   76,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   77,    2, 0x0a /* Public */,
       6,    0,   78,    2, 0x0a /* Public */,
       7,    1,   79,    2, 0x0a /* Public */,
      10,    0,   82,    2, 0x0a /* Public */,
      11,    0,   83,    2, 0x0a /* Public */,
      12,    0,   84,    2, 0x0a /* Public */,
      13,    0,   85,    2, 0x0a /* Public */,
      14,    0,   86,    2, 0x0a /* Public */,
      15,    0,   87,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MultiPlayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MultiPlayer *_t = static_cast<MultiPlayer *>(_o);
        switch (_id) {
        case 0: _t->back(); break;
        case 1: _t->wait_back(); break;
        case 2: _t->quit(); break;
        case 3: _t->create_client(); break;
        case 4: _t->recv_msg(); break;
        case 5: _t->set_chess((*reinterpret_cast< int(*)[2]>(_a[1]))); break;
        case 6: _t->connected(); break;
        case 7: _t->disconnected(); break;
        case 8: _t->btn_restart(); break;
        case 9: _t->btn_quit(); break;
        case 10: _t->btn_back(); break;
        case 11: _t->btn_send(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MultiPlayer::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MultiPlayer::back)) {
                *result = 0;
            }
        }
        {
            typedef void (MultiPlayer::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MultiPlayer::wait_back)) {
                *result = 1;
            }
        }
        {
            typedef void (MultiPlayer::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MultiPlayer::quit)) {
                *result = 2;
            }
        }
    }
}

const QMetaObject MultiPlayer::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_MultiPlayer.data,
      qt_meta_data_MultiPlayer,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *MultiPlayer::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *MultiPlayer::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_MultiPlayer.stringdata))
        return static_cast<void*>(const_cast< MultiPlayer*>(this));
    return QWidget::qt_metacast(_clname);
}

int MultiPlayer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void MultiPlayer::back()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void MultiPlayer::wait_back()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void MultiPlayer::quit()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
